package com.tangsm.spring.boot.api.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Gzip 响应加密控制器
 *
 * @author tangsm
 */
@RestController
@RequestMapping("/gzip")
public class GzipController {

    /**
     * 获取数据
     *
     * @return 响应数据
     */
    @GetMapping("/get")
    public String get() {
        return "[{\"userName\":\"ttt\", \"type\":0,\"gender\":2, \"description\":\"中国21333434444\"}," +
                "{\"userName\":\"ttt\", \"type\":0,\"gender\":2, \"description\":\"中国21333434444\"}," +
                "{\"userName\":\"ttt\", \"type\":0,\"gender\":2, \"description\":\"中国21333434444\"}," +
                "{\"userName\":\"ttt\", \"type\":0,\"gender\":2, \"description\":\"中国21333434444\"}," +
                "{\"userName\":\"ttt\", \"type\":0,\"gender\":2, \"description\":\"中国21333434444\"}," +
                "{\"userName\":\"ttt\", \"type\":0,\"gender\":2, \"description\":\"中国21333434444\"}," +
                "{\"userName\":\"ttt\", \"type\":0,\"gender\":2, \"description\":\"中国21333434444\"}," +
                "{\"userName\":\"ttt\", \"type\":0,\"gender\":2, \"description\":\"中国21333434444\"}," +
                "{\"userName\":\"ttt\", \"type\":0,\"gender\":2, \"description\":\"中国21333434444\"}," +
                "{\"userName\":\"ttt\", \"type\":0,\"gender\":2, \"description\":\"中国21333434444\"}," +
                "{\"userName\":\"ttt\", \"type\":0,\"gender\":2, \"description\":\"中国21333434444\"}," +
                "{\"userName\":\"ttt\", \"type\":0,\"gender\":2, \"description\":\"中国21333434444\"}," +
                "{\"userName\":\"ttt\", \"type\":0,\"gender\":2, \"description\":\"中国21333434444\"}," +
                "{\"userName\":\"ttt\", \"type\":0,\"gender\":2, \"description\":\"中国21333434444\"}," +
                "{\"userName\":\"ttt\", \"type\":0,\"gender\":2, \"description\":\"中国21333434444\"}," +
                "{\"userName\":\"ttt\", \"type\":0,\"gender\":2, \"description\":\"中国21333434444\"}," +
                "{\"userName\":\"ttt\", \"type\":0,\"gender\":2, \"description\":\"中国21333434444\"}," +
                "{\"userName\":\"ttt\", \"type\":0,\"gender\":2, \"description\":\"中国21333434444\"}," +
                "{\"userName\":\"ttt\", \"type\":0,\"gender\":2, \"description\":\"中国21333434444\"}," +
                "{\"userName\":\"ttt\", \"type\":0,\"gender\":2, \"description\":\"中国21333434444\"}," +
                "{\"userName\":\"ttt\", \"type\":0,\"gender\":2, \"description\":\"中国21333434444\"}," +
                "{\"userName\":\"ttt\", \"type\":0,\"gender\":2, \"description\":\"中国21333434444\"}," +
                "{\"userName\":\"ttt\", \"type\":0,\"gender\":2, \"description\":\"中国21333434444\"}," +
                "{\"userName\":\"ttt\", \"type\":0,\"gender\":2, \"description\":\"中国21333434444\"}," +
                "{\"userName\":\"ttt\", \"type\":0,\"gender\":2, \"description\":\"中国21333434444\"}]";
    }
}
